url = 'https://anhui.jiangshuntech.com\n'
url = url.replace('\n', '')

print(url)  # 输出 'https://anhui.jiangshuntech.com'
